/*
 *      Created on: Mar 4, 2011
 *      Author: topcoder
 */

#ifndef LENGTH_UNIT_H_
#define LENGTH_UNIT_H_

#include <Unit.h>

class LengthUnit:public Unit
{
    public:
    static const LengthUnit& getMile();

    static const LengthUnit& getYard();

    static const LengthUnit& getFeet();  

    private:
    LengthUnit(const unsigned int factor, const string name);

};

#define MILE LengthUnit::getMile()

#define YARD LengthUnit::getYard()

#define FEET LengthUnit::getFeet()

#define LENGTH_BASE_UNIT FEET

#endif /* LENGTH_UNIT_H_ */

